package com.rzjm.exercise.module.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.rzjm.exercise.common.base.service.BaseService;
import com.rzjm.exercise.module.domain.Device;
import com.rzjm.exercise.module.domain.DeviceWelding;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *  传感器
 * @author zhouwei
 * @email
 * @date
 */
public interface DeviceWeldingService extends BaseService<DeviceWelding> {
    List<DeviceWelding> getPageByUserId(Page<DeviceWelding> page, Map<String,Object> map);

    /**
     *  根据条件获取设备数量
     * @param map
     * @return
     */
    Integer getDeviceCountByUserId(Map<String,Object> map);
}
